<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta name="screen-orientation" content="portrait" />
    <!-- <link rel="stylesheet" href="../Resources/css/mui.css"> -->
    <link rel="stylesheet" href="/Resources/2.0/css/public.css">
    <link rel="stylesheet" href="/Resources/2.0/css/login.css">
    <script src="/Resources/2.0/js/size.js"></script>
</head>

<body>
    <div class="login" id="app">
        <img src="/Resources/2.0/images/login-logo.png" alt="" class="logo" >
        <div class="form">
            <div class="section">
                <i class="icon icon-left icon-login-user"></i>
                <input type="text" placeholder="请输入域帐号">
            </div>
            <div class="section section-pass">
                <i class="icon icon-left icon-login-pass"></i>
                <input type="password" placeholder="请输入域帐号密码">
                <i class="icon icon-right icon-login-eye"></i>
            </div>
            <div class="warn">
                用户名不存在
            </div>
            <a href="javascript:;" class="login-btn">
                登 录
            </a>
        </div>
    </div>


    <script src="/Resources/2.0/js/zepto.js"></script>
    <script src="/Resources/2.0/js/mui.min.js"></script>
    <!-- <script src="/Resources/2.0/js/zepto.animate.basic.js"></script> -->
    <!-- <script src="/Resources/2.0/js/zepto.animate.js"></script> -->
    <script src="/Resources/2.0/js/public.js"></script>

    <script>
        // 密码显示与隐藏
        mui('.section-pass').on('tap','.icon-login-eye',function(){
            Zepto(this).toggleClass('open');
            var _input=Zepto(this).siblings('input');
            if(Zepto(this).hasClass('open')){
                _input.attr('type','value')
            }else{
                _input.attr('type','password')
            }
        })
        
    </script>


</body>

</html>